package com.xiangyueEducation.uploaderCloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiangyueEducation.uploaderCloud.utils.Result;
import com.xiangyueEducation.uploaderCloud.pojo.dto.PageQuery;
import com.xiangyueEducation.uploaderCloud.pojo.entity.Modules;
import com.xiangyueEducation.uploaderCloud.pojo.vo.PageVo;

public interface ModuleService extends IService<Modules> {
    Result insert(Modules moduleDTO, Long userId);

    Modules queryExistById(Long testId);

    PageVo queryModules(PageQuery pageQuery);

    void removeWithQuestion(Long moduleId);
}
